home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / psal10.zip / PROCESS.BAT < prev    next >
DOS Batch File  |  1992-06-27  |  1KB  |  74 lines

  1. @echo off
  2. d:
  3. cd \proscrib\temp
  4. proscrib.exe %1
  5. if errorlevel=9 goto error9
  6. if errorlevel=8 goto error8
  7. if errorlevel=7 goto error7
  8. if errorlevel=6 goto error6
  9. if errorlevel=5 goto error5
  10. if errorlevel=4 goto error4
  11. if errorlevel=3 goto error3
  12. if errorlevel=2 goto error2
  13. if errorlevel=1 goto error1
  14. if errorlevel=0 goto error0
  15. echo Something went wrong in PROCESS.BAT
  16. pause
  17. goto end
  18.  
  19. :error9
  20.         d:
  21.         cd\bbs
  22.         exit
  23.  
  24. :error8
  25.         d:
  26.         cd\bbs
  27.         exit
  28.  
  29. :error7
  30.         mkerrlvl 0
  31.         d:
  32.         cd\bbs
  33.         exit
  34.  
  35. :error6
  36.         d:
  37.         cd\bbs
  38.         exit
  39.  
  40. :error5
  41.         d:
  42.         cd\bbs
  43.         exit
  44.  
  45. :error4
  46.         d:
  47.         cd\bbs
  48.         exit
  49.  
  50. :error3
  51.         d:
  52.         cd\bbs
  53.         exit
  54.  
  55. :error2
  56.         d:
  57.         cd\bbs
  58.         exit
  59.  
  60. :error1
  61.         d:
  62.         cd\bbs
  63.         exit
  64.  
  65. :error0
  66.         d:
  67.         cd\bbs
  68.         exit
  69.  
  70. :end
  71.         d:
  72.         cd\bbs
  73.         exit
  74.